package com.cskt.petproject178.mapper;

import com.cskt.petproject178.pojo.entity.ReceiverAddress;
import com.cskt.petproject178.pojo.vo.AddressVO;

import java.util.List;

public interface ReceiverAddressMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(ReceiverAddress record);

    ReceiverAddress selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ReceiverAddress record);

    List<AddressVO> selectAddressVOByUserId(Long userId);

    int updateDefaultAddress(Long userId);
}